package com.example.shiro.model;
import lombok.Data;

import java.util.Set;

/**
 * @description:
 * @author: guoc
 * @createDate: 2020/4/24 14:07
 */
@Data
public class Role {

    private String id;
    private String roleName;
    //权限集合
    private Set<Permissions> Permissions;

    public Role() {
    }

    public Role(String id, String roleName, Set<com.example.shiro.model.Permissions> permissions) {
        this.id = id;
        this.roleName = roleName;
        Permissions = permissions;
    }
}
